package ro.peoplecentric.ctc.faces.model;

import javax.annotation.PostConstruct;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import ro.peoplecentric.ctc.common.entity.Item;

/**
 * Item view model bean.
 *
 * @author pguzun
 */
@Controller
@Scope("request")
public class ItemViewBean extends BaseModelBean {

    protected static final long serialVersionUID = 13L;
    private Item currentObject;

    public ItemViewBean() {
    }

    @SuppressWarnings("unused")
    @PostConstruct
    private void init() {
    }

    /**
     * @return the currentObject
     */
    public Item getCurrentObject() {
        return currentObject;
    }

    /**
     * @param item the currentObject to set
     */
    public void setCurrentObject(Item item) {
        this.currentObject = item;
    }
}
